#include <iostream>
#include <vector>
using namespace std;
int n = 3;

int main()
{
    vector<vector<double>> vec2;

    vector<double> vec;

    for (int i = 0; i < n; i++)
    {
        vec.clear();
        for (int j = 0; j <= i; j++)
        {
            vec.push_back((i + 1) * (j + 1));
        }
        vec2.push_back(vec);
    }

    for (int i = 0; i < n; i++)
    {
        for (int j = 0; j <= i; j++)
        {
            cout << vec2[i][j] << " ";
        }
        cout << "" << endl;
    }
    cout << "fuck" << endl;
    return 0;
}